<!DOCTYPE html>
<html>
<head>
<title>编写html页面</title>
<meta charset="utf-8">
<script language="javascript"> //js脚本标注
var con;
con=confirm("20k的offer你要吗"); //在页面上弹出对话框
if(con==true)alert("碗里来");
else alert("就这");
</script>
</head>
<html>
